package com.example.service;


import com.example.entity.GoodsCategory;

import java.util.List;

public interface GoodsCategoryService {
    List<GoodsCategory> getGoodsCategoryList();

    Long getGoodsCategoryIdByName(String name);

    List<Long> getChildrenByPatent(Long parentId);

    int addChildrenCategory(GoodsCategory child);

    int updateStatus(boolean status,Long categoryId);

    int editCategory(GoodsCategory goodsCategory);
}
